package org.jeecg.controller;

import org.jeecg.domain.dto.AppraiseDto;
import org.jeecg.service.AppraiseService;
import org.jeecg.util.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/appraise")
public class AppraiseController {
    @Autowired
    private AppraiseService appraiseService;
    @PostMapping("/findAll")
    public ResponseResult findAll(@RequestBody AppraiseDto appraiseDto){
        return appraiseService.findAll(appraiseDto);
    }
}
